package wqh.service;


import wqh.domain.ChannelData;

import java.util.List;
import java.util.Map;

public interface ChannelDataService {

    List<ChannelData> findAllRecord();
    List<ChannelData> findAllRecordDSEC_TIME();
    List<ChannelData> findAllRecordASC_TIME();
    List<ChannelData> findAllRecordDSEC_ID();
    List<ChannelData> findAllRecordASC_ID();
    List<ChannelData> findAllRecordDSEC_IP();
    List<ChannelData> findAllRecordASC_IP();
    List<ChannelData> findAllRecordDSEC_IP_LIKE(String ip);
    List<ChannelData> findAllRecordASC_IP_LIKE(String ip);
    Integer selectCount();
    List<ChannelData> findAllRecordDSEC_ID_IP_LIKE(String ip);
    List<ChannelData> findAllRecordASC_ID_IP_LIKE(String ip);
    List<ChannelData> findAllRecordDSEC_TIME_IP_LIKE(String ip);
    List<ChannelData> findAllRecordASC_TIME_IP_LIKE(String ip);

    List<Map<Object,Object>> findChannel_1_ByIp(String ip);
    List<Map<Object,Object>> findChannel_2_ByIp(String ip);
    List<Map<Object,Object>> findChannel_3_ByIp(String ip);
    List<Map<Object,Object>> findChannel_4_ByIp(String ip);

    int insertRecord(ChannelData channelData);
}
